import { reactive } from "vue";
import type { FormRules } from "element-plus";

/** 自定义表单规则校验 */
export const formRules = reactive(<FormRules>{
  fileList: [{ required: true, message: "请上传文件", trigger: "blur" }],
  park_code: [{ required: true, message: "请选择停车场名称", trigger: "blur" }],
  type: [{ required: true, message: "请选择类型", trigger: "blur" }]
});
